package com.SmartClassroom.system.mapper;

import com.SmartClassroom.system.model.domain.Course;
import com.SmartClassroom.system.model.dto.course.CourseQueryRequest;
import com.SmartClassroom.system.model.vo.CourseVO;
import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import com.baomidou.mybatisplus.extension.plugins.pagination.Page;
import org.apache.ibatis.annotations.Param;

import java.util.List;

/**
* @author baijiayu
* @description 针对表【Course】的数据库操作Mapper
* @createDate 2024-11-19 11:01:51
* @Entity generator.domain.Course
*/
public interface CourseMapper extends BaseMapper<Course> {

        /**
     * 分页查询课程
     *
     * @param pageParam 分页参数
     * @param courseQueryRequest 查询条件
     * @return 分页结果
     */
    List<CourseVO> page(@Param("pageParam") Page<CourseVO> pageParam,
                        @Param("courseQueryRequest") CourseQueryRequest courseQueryRequest);
}




